<?php
    header('content-type:text/html;charset=utf-8');
    mysql_connect('127.0.0.1','root','root');
    mysql_select_db('logistics');
    $id = $_POST['GmendrukuId'];
    $number = $_POST['GmendrukuNumber'];
    $name = $_POST['GmendrukuName'];
    $date = $_POST['GmendrukuDate'];
    $what = $_POST['GmendrukuWhat'];
    $overhouse = $_POST['GmendrukuOverhouse'];
    $sql = "update ruku set r_number = '$number',r_nameId = '$name',r_date = '$date',r_what = '$what',r_overhouse = '$overhouse' where r_Id = '$id'";
    $res = mysql_query($sql);
    print_r('修改成功');
?>